package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 优惠
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("shopping_discounts")
@ApiModel(value = "ShoppingDiscounts对象", description = "优惠")
public class ShoppingDiscounts implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("商品id")
    private Long shoppingId;

    private Long schoolId;

    @ApiModelProperty("期数")
    private Integer periods;

    private Integer courseCount;

    private BigDecimal disMoney;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Long getShoppingId() {
        return shoppingId;
    }

    public void setShoppingId(Long shoppingId) {
        this.shoppingId = shoppingId;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Integer getPeriods() {
        return periods;
    }

    public void setPeriods(Integer periods) {
        this.periods = periods;
    }
    public Integer getCourseCount() {
        return courseCount;
    }

    public void setCourseCount(Integer courseCount) {
        this.courseCount = courseCount;
    }
    public BigDecimal getDisMoney() {
        return disMoney;
    }

    public void setDisMoney(BigDecimal disMoney) {
        this.disMoney = disMoney;
    }

    @Override
    public String toString() {
        return "ShoppingDiscounts{" +
            "id=" + id +
            ", name=" + name +
            ", shoppingId=" + shoppingId +
            ", schoolId=" + schoolId +
            ", periods=" + periods +
            ", courseCount=" + courseCount +
            ", disMoney=" + disMoney +
        "}";
    }
}
